<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>新建租户</title>
<#include "/pages/include/head.ftl" />
<style>
.error{
	color: red;
}
</style>
</head>

<body>
<div class="form-container">
<div class="form-title"><span class="form-title-into">新建系统</span></div>
<@s.url var="createurl" action="create" namespace="/system" />
<@s.form id="form" action="${createurl}">
<table cellspacing="1" cellpadding="0" class="form-2column form-margin">
    <tr>
      <th>系统名称：</th>
      <td class="from-require"><input type="text" name="system.name" class="input-common input-word-10" />
	  </td>
    </tr>
	 <tr>
      <th>URI：</th>
      <td class="from-require"><input type="text" name="system.url" class="input-common input-word-20" /></td>
    </tr>
    <tr>
      <th>序列号：</th>
      <td><input type="text" name="system.serialNumber" /></td>
    </tr>
	 <tr>
      <th>备注：</th>
      <td><textarea name="system.description" cols="50" rows="5"></textarea></td>
    </tr>
</table>

<div class="form-title"></div>
<div class="main-form-btn">
	<div class="btn-order">
        <ul>
          <li class="left-normal" id="btn1_11"></li>
          <li class="middle-normal submit" id="btn1_12"><img src="../../images/ico16/ico-saveAdd.gif" alt="" />保存并新增</li>
          <li class="right-normal" id="btn1_13"></li>
       </ul>
    </div>
	<div class="btn-order" onclick="page('list.action')">
         <ul>
          <li class="left-normal" id="btn1_21"></li>
          <li class="middle-normal"  onclick="page('paramaccount-list.action')" id="btn1_22"><img src="../../images/ico16/ico-back.gif" alt="" />返 回</li>
          <li class="right-normal" id="btn1_23"></li>
    	</ul>
	</div>
</div>
</@s.form>

</div>
</body>
</html>

<@s.url var="url" action="create" namespace="/system" />
<script>
function page(p){
		window.open(p,"main","");
}
$(function(){
		$("#form").redworkSubmit({
			url: "${url}"
		});
});// ready
</script>